package cn.chenc.framework.core.model.response;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * table用到的返回json格式
 *
 * @author secret
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PageResult {
    private Integer status;
    private String message;
    private Long total;
    private List rows;

    public PageResult(Integer status, String message, Long total, List rows) {
        this.status=status;
        this.message=message;
        this.total = total;
        this.rows = rows;
    }

    public PageResult() {
    }
}
